package com.ctsi.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctsi.core.database.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 素材表实体类
 *
 * @version 1.0
 * @author: wang xiao xiang
 * @date: 2021/8/9 16:27
 */
@Data
@TableName("mars_sys_material")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Material对象", description = "素材表")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Material extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 组ID
     */
    @ApiModelProperty(value = "组ID")
    private Long materialGroupId;
    /**
     * 存储类型
     */
    @ApiModelProperty(value = "存储类型")
    private String ossType;
    /**
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称")
    private String name;
    /**
     * 文件大小
     */
    @ApiModelProperty(value = "文件大小")
    private Integer fileSize;
    /**
     * 文件地址
     */
    @ApiModelProperty(value = "文件地址")
    private String url;
    /**
     * 上传文件名
     */
    @ApiModelProperty(value = "上传文件名")
    private String fileName;
    /**
     * 缩略图地址
     */
    @ApiModelProperty(value = "缩略图地址")
    private String thumbUrl;
    /**
     * 文件扩展名
     */
    @ApiModelProperty(value = "文件扩展名")
    private String extName;
    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;
    /**
     * 删除标识
     */
    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;
    /**
     * 是否加入回收站 0.否|1.是
     */
    @ApiModelProperty(value = "是否加入回收站 0.否|1.是")
    private Boolean isRecycle;


}
